package cn.cmeizu.spring6.iocxml.ditest;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * @author cmeizu
 * @date 2023/2/9 00:27
 */
public class TestDept {
  public static void main(String[] args) {
    ApplicationContext context = new ClassPathXmlApplicationContext("bean-dilist.xml");
    Dept dept = context.getBean("dept", Dept.class);
    dept.info();
  }
}
